@import url("https://fonts.googleapis.com/css?family=Muli&display-swap");

.container {
  display: flex;
  width: 80vw; margin-top: 30PX;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.panel {
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  border-radius: 50px;
  color: #fff;
  text-shadow: 0px 2px 4px #000;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  position: relative;
  transition: flex 0.7s ease-in;
  //box-shadow: 1px 1px 1px 1px #392613;
}

.panel h3 {
  font-size: 24px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 0;
  opacity: 0;
}

.panel.active {
  background-size: 100% auto;
  flex: 5;
}

.panel.active h3 {
  opacity: 1;
  transition: opacity 1s ease-in 1s;
}

@media (max-width: 480px) {
  .container {
    width: 100vw;
  }

  .panel:nth-of-type(4),
  .panel:nth-of-type(5) {
    display: none;
  }
}
